<template>
  <looktyping-vue v-if="type=='look'">
  </looktyping-vue>
  <heartyping-vue v-else-if="type=='hear'"></heartyping-vue>
  <blindtyping-vue v-else-if="type=='blind'"></blindtyping-vue>
</template>
<script>
  import look_typing from '../assets/views/typing/look_typing'
  import hear_typing from '../assets/views/typing/hear_typing'
  import blind_typing from '../assets/views/typing/blind_typing'
  export default {
     async created(){
          // await this.$cloudbase
          //     .auth({ persistence: "local" })
          //     .anonymousAuthProvider()
          //     .signIn();
      },
      components:{
          looktypingVue:look_typing,
          heartypingVue:hear_typing,
          blindtypingVue:blind_typing
      },
      props:['type']
  }
</script>
<style></style>
